package com.dog.modules.infra.api.fegin;


import com.dog.framework.feign.core.FeignRequestInterceptor;
import com.dog.modules.infra.api.dto.request.AccessLogCreateReqDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(contextId = "infra-biz-service-log-api",
        value = "infra-biz-service",
        path = "/infra-biz-service",
        configuration = FeignRequestInterceptor.class)
public interface AccessLogClient {

    @PostMapping("/log/create")
    Boolean createAccessLog(@RequestBody AccessLogCreateReqDTO createDTO);

}
